Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(403)

Side by Side Diff: src/compiler/bytecode-graph-builder.cc

Issue 1396693003: [Interpreter] Add function literal support. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@int_newcontext
Patch Set: Make CreateClosure a bytecode Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/compiler/bytecode-graph-builder.h" 5 #include "src/compiler/bytecode-graph-builder.h"
6 6
7 #include "src/compiler/linkage.h" 7 #include "src/compiler/linkage.h"
8 #include "src/compiler/operator-properties.h" 8 #include "src/compiler/operator-properties.h"
9 #include "src/interpreter/bytecode-array-iterator.h" 9 #include "src/interpreter/bytecode-array-iterator.h"
10 10
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 UNIMPLEMENTED(); 320 UNIMPLEMENTED();
321 } 321 }
322 322
323 323
324 void BytecodeGraphBuilder::VisitPopContext( 324 void BytecodeGraphBuilder::VisitPopContext(
325 const interpreter::BytecodeArrayIterator& iterator) { 325 const interpreter::BytecodeArrayIterator& iterator) {
326 UNIMPLEMENTED(); 326 UNIMPLEMENTED();
327 } 327 }
328 328
329 329
330 void BytecodeGraphBuilder::VisitCreateClosure(
331 const interpreter::BytecodeArrayIterator& iterator) {
332 UNIMPLEMENTED();
333 }
334
335
330 void BytecodeGraphBuilder::VisitCall( 336 void BytecodeGraphBuilder::VisitCall(
331 const interpreter::BytecodeArrayIterator& iterator) { 337 const interpreter::BytecodeArrayIterator& iterator) {
332 UNIMPLEMENTED(); 338 UNIMPLEMENTED();
333 } 339 }
334 340
335 341
336 void BytecodeGraphBuilder::VisitCallRuntime( 342 void BytecodeGraphBuilder::VisitCallRuntime(
337 const interpreter::BytecodeArrayIterator& iterator) { 343 const interpreter::BytecodeArrayIterator& iterator) {
338 UNIMPLEMENTED(); 344 UNIMPLEMENTED();
339 } 345 }
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
604 610
605 void BytecodeGraphBuilder::UpdateControlDependencyToLeaveFunction(Node* exit) { 611 void BytecodeGraphBuilder::UpdateControlDependencyToLeaveFunction(Node* exit) {
606 if (environment()->IsMarkedAsUnreachable()) return; 612 if (environment()->IsMarkedAsUnreachable()) return;
607 environment()->MarkAsUnreachable(); 613 environment()->MarkAsUnreachable();
608 exit_controls_.push_back(exit); 614 exit_controls_.push_back(exit);
609 } 615 }
610 616
611 } // namespace compiler 617 } // namespace compiler
612 } // namespace internal 618 } // namespace internal
613 } // namespace v8 619 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/interpreter/bytecode-array-builder.h » ('j') | src/interpreter/bytecode-generator.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698