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

Side by Side Diff: src/code-factory.cc

Issue 2435023002: Use a different map to distinguish eval contexts (Closed)
Patch Set: relax dchecks Created 4 years, 1 month 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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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/code-factory.h" 5 #include "src/code-factory.h"
6 6
7 #include "src/bootstrapper.h" 7 #include "src/bootstrapper.h"
8 #include "src/ic/ic.h" 8 #include "src/ic/ic.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 return make_callable(stub); 366 return make_callable(stub);
367 } 367 }
368 368
369 369
370 // static 370 // static
371 Callable CodeFactory::FastNewFunctionContext(Isolate* isolate) { 371 Callable CodeFactory::FastNewFunctionContext(Isolate* isolate) {
372 FastNewFunctionContextStub stub(isolate); 372 FastNewFunctionContextStub stub(isolate);
373 return make_callable(stub); 373 return make_callable(stub);
374 } 374 }
375 375
376 Callable CodeFactory::FastNewEvalContext(Isolate* isolate) {
377 FastNewEvalContextStub stub(isolate);
378 return make_callable(stub);
379 }
380
376 // static 381 // static
377 Callable CodeFactory::FastNewClosure(Isolate* isolate) { 382 Callable CodeFactory::FastNewClosure(Isolate* isolate) {
378 FastNewClosureStub stub(isolate); 383 FastNewClosureStub stub(isolate);
379 return make_callable(stub); 384 return make_callable(stub);
380 } 385 }
381 386
382 // static 387 // static
383 Callable CodeFactory::FastNewObject(Isolate* isolate) { 388 Callable CodeFactory::FastNewObject(Isolate* isolate) {
384 FastNewObjectStub stub(isolate); 389 FastNewObjectStub stub(isolate);
385 return make_callable(stub); 390 return make_callable(stub);
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 } 506 }
502 507
503 // static 508 // static
504 Callable CodeFactory::InterpreterOnStackReplacement(Isolate* isolate) { 509 Callable CodeFactory::InterpreterOnStackReplacement(Isolate* isolate) {
505 return Callable(isolate->builtins()->InterpreterOnStackReplacement(), 510 return Callable(isolate->builtins()->InterpreterOnStackReplacement(),
506 ContextOnlyDescriptor(isolate)); 511 ContextOnlyDescriptor(isolate));
507 } 512 }
508 513
509 } // namespace internal 514 } // namespace internal
510 } // namespace v8 515 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698