summaryrefslogtreecommitdiff
path: root/deps/v8/test/cctest/test-code-stubs-ia32.cc
diff options
context:
space:
mode:
authorMichaël Zasso <targos@protonmail.com>2018-07-25 19:30:07 +0200
committerMichaël Zasso <targos@protonmail.com>2018-07-26 08:31:50 +0200
commit6a31d05340b22fc413ee83eaacd0a5565bbbe799 (patch)
tree78f9e1c2f417244842f6422f17e1816e70317100 /deps/v8/test/cctest/test-code-stubs-ia32.cc
parent4d94bb2b1f72b6b612983a517a39c5545724a3ad (diff)
downloadnode-new-6a31d05340b22fc413ee83eaacd0a5565bbbe799.tar.gz
deps: update V8 to 6.8.275.24
PR-URL: https://github.com/nodejs/node/pull/21079 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Yang Guo <yangguo@chromium.org>
Diffstat (limited to 'deps/v8/test/cctest/test-code-stubs-ia32.cc')
-rw-r--r--deps/v8/test/cctest/test-code-stubs-ia32.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/deps/v8/test/cctest/test-code-stubs-ia32.cc b/deps/v8/test/cctest/test-code-stubs-ia32.cc
index 11506b589f..77a2254245 100644
--- a/deps/v8/test/cctest/test-code-stubs-ia32.cc
+++ b/deps/v8/test/cctest/test-code-stubs-ia32.cc
@@ -53,8 +53,8 @@ ConvertDToIFunc MakeConvertDToIFuncTrampoline(Isolate* isolate,
MacroAssembler masm(isolate, buffer, static_cast<int>(allocated),
v8::internal::CodeObjectRequired::kYes);
- DoubleToIStub stub(isolate, destination_reg);
- byte* start = stub.GetCode()->raw_instruction_start();
+ Handle<Code> code = BUILTIN_CODE(isolate, DoubleToI);
+ Address start = code->InstructionStart();
__ push(ebx);
__ push(ecx);
@@ -81,6 +81,7 @@ ConvertDToIFunc MakeConvertDToIFuncTrampoline(Isolate* isolate,
// Call through to the actual stub
__ call(start, RelocInfo::EXTERNAL_REFERENCE);
+ __ mov(destination_reg, MemOperand(esp, 0));
__ add(esp, Immediate(kDoubleSize));