Permalink
Browse files

deps: backport 2cd2f5feff3 from upstream v8

Original commit message:

    Remove experimental fast accessor builder API

    As the code isn't used, but would have to be ported from hand-written
    assembly to CodeStubAssembler anyways, I propose to remove it and
    restore it if we decide that we actually need it.

    R=vogelheim@chromium.org
    BUG=

    Change-Id: Iffd7fc6ec534b1dd7a9144da900424355c8a7a02
    Reviewed-on: https://chromium-review.googlesource.com/453461
    Commit-Queue: Jochen Eisinger <jochen@chromium.org>
    Reviewed-by: Daniel Vogelheim <vogelheim@chromium.org>
    Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#43763}

Ref: v8/v8@2cd2f5f

PR-URL: #12875
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information...
jeisinger authored and jasnell committed Mar 13, 2017
1 parent 19c0c07 commit 9edd6d8ddb13068eb608e2a385431301dc9f87c5
Showing with 14 additions and 2,336 deletions.
  1. +0 −5 deps/v8/BUILD.gn
  2. +0 −58 deps/v8/include/v8-experimental.h
  3. +2 −17 deps/v8/include/v8.h
  4. +0 −139 deps/v8/src/api-experimental.cc
  5. +0 −28 deps/v8/src/api-experimental.h
  6. +10 −31 deps/v8/src/api.cc
  7. +0 −98 deps/v8/src/builtins/arm/builtins-arm.cc
  8. +0 −98 deps/v8/src/builtins/arm64/builtins-arm64.cc
  9. +0 −1 deps/v8/src/builtins/builtins.h
  10. +0 −106 deps/v8/src/builtins/ia32/builtins-ia32.cc
  11. +0 −98 deps/v8/src/builtins/mips/builtins-mips.cc
  12. +0 −99 deps/v8/src/builtins/mips64/builtins-mips64.cc
  13. +0 −101 deps/v8/src/builtins/ppc/builtins-ppc.cc
  14. +0 −101 deps/v8/src/builtins/s390/builtins-s390.cc
  15. +0 −108 deps/v8/src/builtins/x64/builtins-x64.cc
  16. +0 −106 deps/v8/src/builtins/x87/builtins-x87.cc
  17. +0 −3 deps/v8/src/compiler/access-info.cc
  18. +0 −270 deps/v8/src/fast-accessor-assembler.cc
  19. +0 −122 deps/v8/src/fast-accessor-assembler.h
  20. +0 −7 deps/v8/src/ic/arm/handler-compiler-arm.cc
  21. +0 −7 deps/v8/src/ic/arm64/handler-compiler-arm64.cc
  22. +0 −6 deps/v8/src/ic/ia32/handler-compiler-ia32.cc
  23. +0 −6 deps/v8/src/ic/mips/handler-compiler-mips.cc
  24. +0 −6 deps/v8/src/ic/mips64/handler-compiler-mips64.cc
  25. +0 −7 deps/v8/src/ic/ppc/handler-compiler-ppc.cc
  26. +0 −7 deps/v8/src/ic/s390/handler-compiler-s390.cc
  27. +0 −7 deps/v8/src/ic/x64/handler-compiler-x64.cc
  28. +0 −6 deps/v8/src/ic/x87/handler-compiler-x87.cc
  29. +0 −1 deps/v8/src/objects-inl.h
  30. +1 −7 deps/v8/src/objects.cc
  31. +1 −3 deps/v8/src/objects.h
  32. +0 −5 deps/v8/src/v8.gyp
  33. +0 −2 deps/v8/test/cctest/BUILD.gn
  34. +0 −2 deps/v8/test/cctest/cctest.gyp
  35. +0 −103 deps/v8/test/cctest/test-api-accessors.cc
  36. +0 −492 deps/v8/test/cctest/test-api-fast-accessor-builder.cc
  37. +0 −73 deps/v8/test/cctest/test-receiver-check-hidden-prototype.cc
View
@@ -887,7 +887,6 @@ v8_source_set("v8_base") {
### gcmole(all) ###
"include/v8-debug.h",
"include/v8-experimental.h",
"include/v8-platform.h",
"include/v8-profiler.h",
"include/v8-testing.h",
@@ -905,8 +904,6 @@ v8_source_set("v8_base") {
"src/api-arguments-inl.h",
"src/api-arguments.cc",
"src/api-arguments.h",
"src/api-experimental.cc",
"src/api-experimental.h",
"src/api-natives.cc",
"src/api-natives.h",
"src/api.cc",
@@ -1386,8 +1383,6 @@ v8_source_set("v8_base") {
"src/external-reference-table.h",
"src/factory.cc",
"src/factory.h",
"src/fast-accessor-assembler.cc",
"src/fast-accessor-assembler.h",
"src/fast-dtoa.cc",
"src/fast-dtoa.h",
"src/feedback-vector-inl.h",

This file was deleted.

Oops, something went wrong.
View
@@ -137,10 +137,6 @@ class CallHandlerHelper;
class EscapableHandleScope;
template<typename T> class ReturnValue;
namespace experimental {
class FastAccessorBuilder;
} // namespace experimental
namespace internal {
class Arguments;
class Heap;
@@ -5098,16 +5094,6 @@ class V8_EXPORT FunctionTemplate : public Template {
static MaybeLocal<FunctionTemplate> FromSnapshot(Isolate* isolate,
size_t index);
/**
* Creates a function template with a fast handler. If a fast handler is set,
* the callback cannot be null.
*/
static Local<FunctionTemplate> NewWithFastHandler(
Isolate* isolate, FunctionCallback callback,
experimental::FastAccessorBuilder* fast_handler = nullptr,
Local<Value> data = Local<Value>(),
Local<Signature> signature = Local<Signature>(), int length = 0);
/**
* Creates a function template backed/cached by a private property.
*/
@@ -5135,9 +5121,8 @@ class V8_EXPORT FunctionTemplate : public Template {
* callback is called whenever the function created from this
* FunctionTemplate is called.
*/
void SetCallHandler(
FunctionCallback callback, Local<Value> data = Local<Value>(),
experimental::FastAccessorBuilder* fast_handler = nullptr);
void SetCallHandler(FunctionCallback callback,
Local<Value> data = Local<Value>());
/** Set the predefined length property for the FunctionTemplate. */
void SetLength(int length);

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 9edd6d8

Please sign in to comment.