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

Side by Side Diff: src/hydrogen.h

Issue 1316943002: Move (uppercase) JS builtins from js builtins object to native context. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: remove Isolate::js_builtins_object Created 5 years, 3 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
« no previous file with comments | « src/full-codegen/x87/full-codegen-x87.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 #ifndef V8_HYDROGEN_H_ 5 #ifndef V8_HYDROGEN_H_
6 #define V8_HYDROGEN_H_ 6 #define V8_HYDROGEN_H_
7 7
8 #include "src/accessors.h" 8 #include "src/accessors.h"
9 #include "src/allocation.h" 9 #include "src/allocation.h"
10 #include "src/ast.h" 10 #include "src/ast.h"
(...skipping 1425 matching lines...) Expand 10 before | Expand all | Expand 10 after
1436 Strength strength, 1436 Strength strength,
1437 BailoutId opt_id = BailoutId::None()); 1437 BailoutId opt_id = BailoutId::None());
1438 1438
1439 HLoadNamedField* AddLoadFixedArrayLength(HValue *object, 1439 HLoadNamedField* AddLoadFixedArrayLength(HValue *object,
1440 HValue *dependency = NULL); 1440 HValue *dependency = NULL);
1441 1441
1442 HLoadNamedField* AddLoadArrayLength(HValue *object, 1442 HLoadNamedField* AddLoadArrayLength(HValue *object,
1443 ElementsKind kind, 1443 ElementsKind kind,
1444 HValue *dependency = NULL); 1444 HValue *dependency = NULL);
1445 1445
1446 HValue* AddLoadJSBuiltin(Builtins::JavaScript builtin); 1446 HValue* AddLoadJSBuiltin(int context_index);
1447 1447
1448 HValue* EnforceNumberType(HValue* number, Type* expected); 1448 HValue* EnforceNumberType(HValue* number, Type* expected);
1449 HValue* TruncateToNumber(HValue* value, Type** expected); 1449 HValue* TruncateToNumber(HValue* value, Type** expected);
1450 1450
1451 void FinishExitWithHardDeoptimization(Deoptimizer::DeoptReason reason); 1451 void FinishExitWithHardDeoptimization(Deoptimizer::DeoptReason reason);
1452 1452
1453 void AddIncrementCounter(StatsCounter* counter); 1453 void AddIncrementCounter(StatsCounter* counter);
1454 1454
1455 class IfBuilder final { 1455 class IfBuilder final {
1456 public: 1456 public:
(...skipping 1585 matching lines...) Expand 10 before | Expand all | Expand 10 after
3042 } 3042 }
3043 3043
3044 private: 3044 private:
3045 HGraphBuilder* builder_; 3045 HGraphBuilder* builder_;
3046 }; 3046 };
3047 3047
3048 3048
3049 } } // namespace v8::internal 3049 } } // namespace v8::internal
3050 3050
3051 #endif // V8_HYDROGEN_H_ 3051 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/full-codegen/x87/full-codegen-x87.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698