OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "src/runtime/runtime-utils.h" | 5 #include "src/runtime/runtime-utils.h" |
6 | 6 |
7 #include <iomanip> | 7 #include <iomanip> |
8 | 8 |
9 #include "src/arguments.h" | 9 #include "src/arguments.h" |
10 #include "src/frames-inl.h" | 10 #include "src/frames-inl.h" |
11 #include "src/interpreter/bytecode-array-iterator.h" | 11 #include "src/interpreter/bytecode-array-iterator.h" |
12 #include "src/interpreter/bytecodes.h" | 12 #include "src/interpreter/bytecodes.h" |
13 #include "src/isolate-inl.h" | 13 #include "src/isolate-inl.h" |
| 14 #include "src/ostreams.h" |
14 | 15 |
15 namespace v8 { | 16 namespace v8 { |
16 namespace internal { | 17 namespace internal { |
17 | 18 |
18 | 19 |
19 RUNTIME_FUNCTION(Runtime_InterpreterEquals) { | 20 RUNTIME_FUNCTION(Runtime_InterpreterEquals) { |
20 HandleScope scope(isolate); | 21 HandleScope scope(isolate); |
21 DCHECK_EQ(2, args.length()); | 22 DCHECK_EQ(2, args.length()); |
22 CONVERT_ARG_HANDLE_CHECKED(Object, x, 0); | 23 CONVERT_ARG_HANDLE_CHECKED(Object, x, 0); |
23 CONVERT_ARG_HANDLE_CHECKED(Object, y, 1); | 24 CONVERT_ARG_HANDLE_CHECKED(Object, y, 1); |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 RUNTIME_FUNCTION(Runtime_InterpreterSetPendingMessage) { | 265 RUNTIME_FUNCTION(Runtime_InterpreterSetPendingMessage) { |
265 SealHandleScope shs(isolate); | 266 SealHandleScope shs(isolate); |
266 DCHECK_EQ(1, args.length()); | 267 DCHECK_EQ(1, args.length()); |
267 CONVERT_ARG_HANDLE_CHECKED(Object, message, 0); | 268 CONVERT_ARG_HANDLE_CHECKED(Object, message, 0); |
268 isolate->thread_local_top()->pending_message_obj_ = *message; | 269 isolate->thread_local_top()->pending_message_obj_ = *message; |
269 return isolate->heap()->undefined_value(); | 270 return isolate->heap()->undefined_value(); |
270 } | 271 } |
271 | 272 |
272 } // namespace internal | 273 } // namespace internal |
273 } // namespace v8 | 274 } // namespace v8 |
OLD | NEW |